package com.example.netcomponent.net;



import com.example.netcomponent.net.BaseResultEntity;

import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Streaming;
import retrofit2.http.Url;
import rx.Observable;

/**
 * Created by zengxianghui900 on 17/9/30.
 * retrofit 所有网络请求的接口基类
 */

public interface CommonApiService {


    String BASE_HEAD ="http://test1-icore-cmss.pingan.com.cn/";

    String BASE_URL = BASE_HEAD + "office/";




    /**下载新版本apk*/
    @Streaming
    @GET
    Observable<ResponseBody> downloadApk(@Url String url);






}
